board: samsung: reserve memory for the secure firmware
authorPrzemyslaw Marczak <[email protected]>
Tue, 17 Feb 2015 13:50:25 +0000 (14:50 +0100)
committerMinkyu Kang <[email protected]>
Wed, 4 Mar 2015 12:25:35 +0000 (21:25 +0900)
commita0643e227ad98fbc34b1950ddc6d1d2a0f5aadad
tree665ddd310267c0dc35bc8aa8031622fd31163b98
parentc8b71a35289112f77691df0d0b4a97ef19dac87b
board: samsung: reserve memory for the secure firmware

Since more than one board requires memory reservation
for the secure firmware, the reservation code can be
made in a common code.
Now, to reserve some part of the the last bank,
board config should define:
- CONFIG_TZSW_RESERVED_DRAM - len in bytes
- CONFIG_NR_DRAM_BANKS - number of memory banks

Signed-off-by: Przemyslaw Marczak <[email protected]>
Cc: Akshay Saraswat <[email protected]>
Cc: Hyungwon Hwang <[email protected]>
Cc: Minkyu Kang <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
board/samsung/common/board.c